Automattic\Jetpack\Protect\REST_Controller S

Total Complexity 33
Dependencies 12
Dependents 1
Total lines 462
Lines of code 300
Logical lines of code 107
Comment lines 103
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
register_rest_endpoints()
A
32 1 178
api_toggle_waf()
S
55 4 22
api_complete_onboarding_steps()
S
63 4 10
api_fix_threats_status()
S
63 3 10
api_ignore_threat()
S
63 3 10
api_fix_threats()
S
63 3 10
api_check_credentials()
S
68 2 7
api_scan()
S
68 2 7
api_clear_scan_cache()
S
68 2 7
api_get_waf()
S
63 1 11
api_get_status()
S
74 1 4
api_check_plan()
S
75 1 4
api_get_waf_seen_status()
S
80 1 3
api_set_waf_seen_status()
S
80 1 3
api_get_waf_upgrade_seen_status()
S
80 1 3
api_set_waf_upgrade_seen_status()
S
80 1 3
api_get_onboarding_progress()
S
75 1 4
init()
S
75 1 4